import {BaseService, Id, Result, Service} from "csap-typescript-vue2/lib";
import {ApiDocPathForm, ApiDocPathList, ApiDocPathSearch} from "@/api/model/ApiDocPathModel";
import {Request} from "csap-typescript-vue2/lib/model/Request";
import {AxiosPromise} from "axios";

@Service()
export class ApiDocPathService extends BaseService<ApiDocPathForm, ApiDocPathSearch, ApiDocPathList, number> {

    flushDoc(pathId: Request<Id<number>>): AxiosPromise<Result<boolean>> {
        return this.getHttpRequest().execute(pathId);
    };


}
